#ifndef PICKTEAMS_H
#define PICKTEAMS_H

#include <QWidget>
#include "lineups.h"
#include <QList>
#include "dbconnect.h"
#include "team.h"

namespace Ui {
class PickTeams;
}

class PickTeams : public QWidget
{
    Q_OBJECT
    
public:
    explicit PickTeams(QWidget *parent = 0);
    ~PickTeams();
    
private:
    Ui::PickTeams *ui;
    Lineups* sckeep;
    QList <Team *> all_teams;
    DbConnect db;
    int home_index;
    int away_index;


    void getTeams();
    void populateHome();
    void populateAway();


private slots:

    void ShowScoreKeeper();

};

#endif // PICKTEAMS_H
